7200 #include "syscall.h"
7201 #include "traps.h"
7202 
7203 #define SYSCALL(name) \
7204   .globl name; \
7205   name: \
7206     movl $SYS_ ## name, %eax; \
7207     int $T_SYSCALL; \
7208     ret
7209 
7210 SYSCALL(fork)
7211 SYSCALL(exit)
7212 SYSCALL(wait)
7213 SYSCALL(pipe)
7214 SYSCALL(read)
7215 SYSCALL(write)
7216 SYSCALL(close)
7217 SYSCALL(kill)
7218 SYSCALL(exec)
7219 SYSCALL(open)
7220 SYSCALL(mknod)
7221 SYSCALL(unlink)
7222 SYSCALL(fstat)
7223 SYSCALL(link)
7224 SYSCALL(mkdir)
7225 SYSCALL(chdir)
7226 SYSCALL(dup)
7227 SYSCALL(getpid)
7228 SYSCALL(sbrk)
7229 SYSCALL(sleep)
7230 SYSCALL(uptime)
7231 SYSCALL(wait2)
7232 SYSCALL(nice)
7233 
7234 
7235 
7236 
7237 
7238 
7239 
7240 
7241 
7242 
7243 
7244 
7245 
7246 
7247 
7248 
7249 
